<div class="main-title clearfix">
    <h1>Module: Transaction</h1>
</div>
<div class="grid_16">
    <div class="admin-agency form">
		<?php
		$form = $this->beginWidget('CActiveForm', array(
			'id' => 'admin-agency-transaction-form',
			'enableAjaxValidation' => false,
			'htmlOptions' => array()
				));
		?>
        <div class="section">
			<div class="block">
				<table class="form-table">
					<tr>
						<th scope="row" width="135">Transaction Type</th>
						<th scope="row" width="135">Party #1</th>
						<th scope="row" width="135">Party #1 Contact Type</th>
						<th scope="row" width="135">Party #2</th>
						<th scope="row" width="135">Party #2 Contact Type</th>
					</tr>
					<tr>
						<td scope="row" width="135"> Sale</td>
						<td><?php echo CHtml::dropDownList('AgencySetting[PropertyCase_Sale_P1]', $AgencySetting[PropertyCase_Sale_P1], PropertyCaseContact::getRoles(), array('prompt' => "Default")); ?></td>
						<td><?php echo CHtml::dropDownList('AgencySetting[PropertyCase_Sale_P1_type]', $AgencySetting[PropertyCase_Sale_P1_type], Contact::getTypesListData(), array('prompt' => "Default")); ?></td>
						<td><?php echo CHtml::dropDownList('AgencySetting[PropertyCase_Sale_P2]', $AgencySetting[PropertyCase_Sale_P2], PropertyCaseContact::getRoles(), array('prompt' => "Default")); ?></td>
						<td><?php echo CHtml::dropDownList('AgencySetting[PropertyCase_Sale_P2_type]', $AgencySetting[PropertyCase_Sale_P2_type], Contact::getTypesListData(), array('prompt' => "Default")); ?></td>
					</tr>
					<tr>
						<td scope="row" width="135"> Purchase</td>
						<td><?php echo CHtml::dropDownList('AgencySetting[PropertyCase_Purchase_P1]', $AgencySetting[PropertyCase_Purchase_P1], PropertyCaseContact::getRoles(), array('prompt' => "Default")); ?></td>
						<td><?php echo CHtml::dropDownList('AgencySetting[PropertyCase_Purchase_P1_type]', $AgencySetting[PropertyCase_Purchase_P1_type], Contact::getTypesListData(), array('prompt' => "Default")); ?></td>
						<td><?php echo CHtml::dropDownList('AgencySetting[PropertyCase_Purchase_P2]', $AgencySetting[PropertyCase_Purchase_P2], PropertyCaseContact::getRoles(), array('prompt' => "Default")); ?></td>
						<td><?php echo CHtml::dropDownList('AgencySetting[PropertyCase_Purchase_P2_type]', $AgencySetting[PropertyCase_Purchase_P2_type], Contact::getTypesListData(), array('prompt' => "Default")); ?></td>
					</tr>
					<tr>
						<td scope="row" width="135"> Lease By Landlord</td>
						<td><?php echo CHtml::dropDownList('AgencySetting[PropertyCase_LeasebyLandlord_P1]', $AgencySetting[PropertyCase_LeasebyLandlord_P1], PropertyCaseContact::getRoles(), array('prompt' => "Default")); ?></td>
						<td><?php echo CHtml::dropDownList('AgencySetting[PropertyCase_LeasebyLandlord_P1_type]', $AgencySetting[PropertyCase_LeasebyLandlord_P1_type], Contact::getTypesListData(), array('prompt' => "Default")); ?></td>
						<td><?php echo CHtml::dropDownList('AgencySetting[PropertyCase_LeasebyLandlord_P2]', $AgencySetting[PropertyCase_LeasebyLandlord_P2], PropertyCaseContact::getRoles(), array('prompt' => "Default")); ?></td>
						<td><?php echo CHtml::dropDownList('AgencySetting[PropertyCase_LeasebyLandlord_P2_type]', $AgencySetting[PropertyCase_LeasebyLandlord_P2_type], Contact::getTypesListData(), array('prompt' => "Default")); ?></td>
					</tr>
					<tr>
						<td scope="row" width="135"> Lease By Tenant</td>
						<td><?php echo CHtml::dropDownList('AgencySetting[PropertyCase_LeasebyTenant_P1]', $AgencySetting[PropertyCase_LeasebyTenant_P1], PropertyCaseContact::getRoles(), array('prompt' => "Default")); ?></td>
						<td><?php echo CHtml::dropDownList('AgencySetting[PropertyCase_LeasebyTenant_P1_type]', $AgencySetting[PropertyCase_LeasebyTenant_P1_type], Contact::getTypesListData(), array('prompt' => "Default")); ?></td>
						<td><?php echo CHtml::dropDownList('AgencySetting[PropertyCase_LeasebyTenant_P2]', $AgencySetting[PropertyCase_LeasebyTenant_P2], PropertyCaseContact::getRoles(), array('prompt' => "Default")); ?></td>
						<td><?php echo CHtml::dropDownList('AgencySetting[PropertyCase_LeasebyTenant_P2_type]', $AgencySetting[PropertyCase_LeasebyTenant_P2_type], Contact::getTypesListData(), array('prompt' => "Default")); ?></td>
					</tr>
				</table>
				<table class="form-table">
					<th>
						<button type="submit" class="link-button round_all no-margin">
							<span>Save Changes</span>
						</button>
					</th>
				</table>
			</div>
        </div>
		<?php $this->endWidget(); ?>
    </div>
</div>